package spe.ui.action;

import org.eclipse.jface.action.Action;

public class PropertiesAction extends Action 
{
	public static final String ID = PropertiesAction.class.getName();
	
	private Object object;
	
	public PropertiesAction()
	{
		super();
		setText("&Properties");
	}
	
	public PropertiesAction(Object obj)
	{
		super();
		setText("&Properties");
		object = obj;
	}
	
	public void setObject(Object obj)
	{
		this.object = obj;
	}
	
	public void run()
	{
		System.out.println("RUN Properties on " + object);
	}
	
	public String getId()
	{
		return ID;
	}
}
